package ;
import flash.geom.Point;

enum Direction
{
	DOWN; LEFT; RIGHT; UP;
}

/**
 * ...
 * @author ... Marcelo Ruben Guardia
 */
class GC
{
	public static var heightBlock:Float = 32.0;	
	public static var widthBlock:Float = 32.0;
	public static var G:Float = 9.81;

	// imagenes
	public static var IMG_bg:Dynamic = "gfx/bg.png";
	public static var IMG_protobot:Dynamic = "gfx/protobot.png";
	public static var IMG_protobot_mask:Dynamic = "gfx/protobot_mask.png";
	public static var IMG_magnet:Dynamic = "gfx/brazo-iman.png";
	public static var IMG_leg_of_robot:Dynamic = "gfx/pierna-bot.png";
	public static var IMG_legs:Dynamic = "gfx/piernas.png";
	public static var IMG_gun:Dynamic = "gfx/arma.png";
	public static var IMG_laser_bullet:Dynamic = "gfx/laser-bullet.png";
	public static var IMG_platform:Dynamic = "gfx/metal-platform.png";
	
	//public static var IMG_totem_negro:Dynamic = "gfx/totem_negro.png";
	//public static var IMG_totem_verde:Dynamic = "gfx/totem_verde.png";

	public static var IMG_tileset:Dynamic = "gfx/tileset.png";
	
	
	static public function GetRadian(angle:Float):Float
	{
		return ((180 - angle) * Math.PI / 180);
	}
	
	static public function GetDegrees(angle:Float):Float
	{
		return (((angle * 180) / Math.PI) + 180);
	}
}